<generic>
	<template>
		<Style>
			.label-green {
				color:#669966;
				fontSize:11;
				fontWeight:bold;
			}


			.label-red {
				color:#660000;
				fontSize:19;
				fontWeight:bold;
			}			
				
		</Style>
		<!-- Container -->

			<!-- Content -->
			<ResizableWindow title="Edit profile" fontSize="12" modal="true" width="550" height="650"
				verticalGap="3" horizontalAlign="center" verticalAlign="middle" borderStyle="solid" 
				borderThickness="1" cornerRadius="12" paddingLeft="0" backgroundColor="#ffffcc">
			<HBox backgroundColor="#ffffcc" width="100%" height="100%" horizontalGap="0" verticalAlign="middle" horizontaAlign="center">
			
					
				<!-- Search -->
				<VBox backgroundColor="#ffffcc"  width="100%" height="100%" paddingLeft="20" paddingTop="30"
						verticalAlign="top" horizontalAlign="left" verticalGap="15" > 

					<Label text="Personal info" styleName="label-red"/>
					<!-- Basic -->
					
					<HBox  width="100%" horizontalAlign="left"> 
						<VBox>
							<HBox>
							<Label styleName="label-green" text="First name" width="100"/>
							<TextInput width="120" text="Todor"/>							
							</HBox>
							<HBox>
							<Label styleName="label-green" text="Last name" width="100"/>
							<TextInput width="120" text="Hristov"/>
							</HBox>
							<HBox>
							<Label styleName="label-green" text="Sex" width="100"/>
							<ComboBox   dataProvider="[ 'male',  'female' ]  " />
							</HBox>
							<HBox>
							<Label styleName="label-green" text="Hometown" width="100"/>
							<TextInput text="Sofia" width="120" />
							</HBox>
						</VBox>
						<VBox horizontalAlign="left" width="100%">
							<Image source="frontend/images/face6.jpg" verticalAlign="middle" scaleX="1.2" scaleY="1.2"/>
						</VBox>
			
					</HBox>
				
					<HBox horizontalAlign="left" width="100%">
							<Label styleName="label-green" text="Photo" width="100"/>
							<FileUpload height="40" width="175" fontSize="10" labelbutton="New" statusresult="{status_txt1}"/>
							<Button label="Remove" width="100" fontSize="10"/>
					</HBox>
					<!-- Search by uni info -->
					<Label color="#660000" text="University info" styleName="label-red"/>
					<VBox  width="100%" horizontalAlign="left" > 
						<HBox>
						<Label styleName="label-green" width="100" text="Faculty"/>					
						<ComboBox  width="300" id="faculty" dataProvider="[]  " />
						</HBox>
						<Binding source="templatedata.faculties.item" destination="faculty.dataProvider"/>
						<HBox>
						<Label styleName="label-green" width="100" text="Specialty"/>
						<TextInput width="300" text="Software engineering"/>
						</HBox>
						<HBox>
						<Label styleName="label-green"  width="100"  text="Course"/>
						<ComboBox   dataProvider="[ '4',  '3', '2', '1' ]  " />
						</HBox>
						<HBox>
						<Label styleName="label-green"  width="100"  text="Position" />
						<ComboBox   dataProvider="[ 'student',  'associate professor', 'professor', 'personal' ]  " />
						</HBox>
					</VBox>
					
						<!-- Password settings -->
					<Label color="#660000" text="Password" styleName="label-red"/>
					<VBox  width="100%" horizontalAlign="left" > 
						<HBox>
							<Label styleName="label-green" width="140" text="Password"/>
							<TextInput width="300" displayAsPassword="true" />
						</HBox>		
						<HBox>
							<Label styleName="label-green" width="140" text="New password"/>
							<TextInput width="300" displayAsPassword="true"/>
						</HBox>
						<HBox>
							<Label styleName="label-green" width="140" text="Confirm password"/>
							<TextInput width="300" displayAsPassword="true"/>
						</HBox>								
					</VBox>

					<VBox width="100%" horizontalAlign="center" color="black" >
						<Button label="Edit profile" fontSize="18"/>
					</VBox>
									
				</VBox>
			</HBox>

			</ResizableWindow>

	</template>
	<templatedata>

		<faculties>
			<item>
				Faculty of Mathematics and Informatics
			</item>
			<item>Faculty of History</item>
			
			<item>
				Faculty of Physics
			</item>
			<item>
				Faculty of Biology
			</item>
			<item>
				Faculty of Pharmacy
			</item>
			<item>
				Faculty of Economics and Business administration
			</item>
			<item>
				Faculty of Medicine
			</item>
			<item>
				Faculty of Pedagogy
			</item>
			<item>
				Faculty of Psychology
			</item>
		</faculties>
	</templatedata>

</generic>
